package com.log.dao;

import com.log.comon.GenralDao;
import com.log.pojo.LogCar;
import com.log.pojo.LogGoodsOutIn;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogCarMapper extends GenralDao<LogCar> {
    /**
     * 分页查询车辆信息
     * @param start
     * @param limit
     * @return
     */
    public List<LogCar> selectLogCarByPage(@Param("start") int start, @Param("limit") int limit);

    /**
     * 通过不同车辆状态分页查询车辆信息
     * @param start
     * @param limit
     * @param logCarStatus
     * @return
     */
    public List<LogCar> selectLogCarByPageAndStatus(@Param("start") int start,@Param("limit") int limit,@Param("logCarStatus") int logCarStatus);


}